<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link href="tanchuang.css" type="text/css" rel="stylesheet">
    
</head>
<body>
    <!-- 这是个弹窗实例 -->
    <!-- 作者 RDSunday -->
    <!-- 打开弹窗按钮 -->

    <!-- 打开弹窗按钮 -->
    <button id="myBtn">打开弹窗</button>
    
    <!-- 弹窗 -->
    <div id="myModal" class="modal">
    
        <!-- 弹窗内容 -->
        <div class="modal-content">
            <span class="close">&times;</span>
            <p>弹窗中的文本...</p>
        </div>
    
    </div>
    <script src="tanchuang.js"></script>
</body>
</html>